/*
import org.junit.Test;

import junit.framework.TestCase;

public class RepresentationTest extends TestCase {
	private static Representation r;
	private static Node n1, n2;
	private static Quiver q;
	private static Arrow a;
	
	protected void setUp() throws Exception {
		super.setUp();
		q = new Quiver();
		n1 = q.addNode(100, 100);
		n2 = q.addNode(200,200);
		a = q.addArrow(n1, n2);
		r = new Representation(q);
	}

	protected void tearDown() throws Exception {
		super.tearDown();
	}

	@Test
	public static void test1(){
		r.setMap(a, new String[][] {{"a","b"},{"c","d"}, {"e", "f"}});
		assertEquals(r.getDimension(n1), 3);
		assertEquals(r.getDimension(n2), 2);
		
		r.setDimension(n1, 4);
		String[][] map = r.getMap(a);
		for (int i=0; i<r.getDimension(n2); i++){
			for (int j=0; j<r.getDimension(n1); j++){
				System.out.print(map[j][i] + " ");
			}
			System.out.println();
		}
		System.out.println();
		
		r.setDimension(n2, 3);
		map = r.getMap(a);
		for (int i=0; i<r.getDimension(n2); i++){
			for (int j=0; j<r.getDimension(n1); j++){
				System.out.print(map[j][i] + " ");
			}
			System.out.println();
		}
		System.out.println();
		
		r.setDimension(n1,2);
		r.setDimension(n2,1);
		map = r.getMap(a);
		for (int i=0; i<r.getDimension(n2); i++){
			for (int j=0; j<r.getDimension(n1); j++){
				System.out.print(map[j][i] + " ");
			}
			System.out.println();
		}
	}
}
*/
